package com.ruoyi.web.api;

import cn.hutool.json.JSONObject;
import com.ruoyi.common.core.domain.R;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author liutao
 * @version 1.0
 * @description: TODO
 * @date 2024/3/10 16:44
 */
@Slf4j
@RestController
@RequestMapping("/api/app/version")
public class AppVersionApi {
    @PostMapping("/check")
    public R<JSONObject> check(@RequestBody JSONObject jsonObject) {
        log.info("checkAppUpdate jsonObject:{}", jsonObject);
        return R.ok();
    }
}
